/* 定义商品详情页面样式 */

html,body{
	height:100%;
	width:100%;
	overflow: auto;
}

.tpanel {
	height: 40px;
	width: 100%;
	background-color: white;
	display: flex;
	position: fixed;
	top: 0;
}

.tpanel>button {
	width: 20%;
	border: #000000 solid 0;
	padding: 0;
	font-size: 12px;
}

.tpanel .title {
	width: 60%;
	height: 100%;
	color: #000000;
	background-color: #FFFFFF;
	font-size: 15px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mui-content{
	height:100%;
	width:100%;
	position: absolute;
	top:30px;
	bottom:50px;
	overflow: auto;
}
/* 定义选择商品属性样式 */
#item-select{
	height:100px;
	width:100%;
}

#item-select>img{
	height:90px;
	width: 90px;
}
#item-select>span{
	color:red;
}

.mui-popover{
	height: 60%;
	width:100%;
	position: fixed;
	bottom:0;
	overflow-y: auto;
	background-color: white;
}

#attr-title{
	height:10px;
	font-size: 15px;
	color:#646464;
    margin-top: 5px;
	margin-left: 10px;
}

#attribute{
	height:120px;
	width:100%;
	margin-top: 10px;
}

#attr-name{
	height:14px;
	width:100%;
	display: flex;
	justify-content: flex-start;
	font-size: 14px;
	color:#757575;
	margin-top: 5px;
}

#attr-value{
	width:100%;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-top: 6px;
}

.attr-values{
	height:30%;
	padding:4px;
	border: 1px solid #e4e4e4;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15px;
	color:#000000;
	margin: 2px;
	background-color: #dfdfdf;
}


#changeNum{
	height:20px;
	width:100%;
	margin-top: 10px;
	display: flex;
}

#num-title{
	font-size: 14px;
	color:#757575;
}

#change{
	height:20px;
	width:100px;
	display: flex;
	justify-content: space-around;
	position: absolute;
	right:10px;
	
}
#lessen{
	height:20px;
	width:20px;
	border: 1px solid #e4e4e4;
	text-align: center;
	
}

#num{
	height:20px;
	width:20px;
	border: 1px solid #e4e4e4;
	text-align: center;
}

#add{
	height:20px;
	width:20px;
	border: 1px solid #e4e4e4;
	text-align: center;
}


#xiadan{
	height:40px;
	width:100%;
	color:white;
	background-color: #d32010;
	font-size: 18px;
    margin-top: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	bottom:0;
}

/* 定义内容展示区样式 */
.content{
	height:100%;
	width:100%;
	background-color: #f7f7f7;
}

/* 定义商品图片展示样式 */
.item-img{
	height:260px;
	width:100%;
	background-color: #FFFFFF;
	padding: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#img{
	height:180px;
	width:180px;
	margin-top: 40px;
}

/* 定义商品详情展示样式 */

#item-formation{
	width:100%;
	background-color:#fefefe ;
}
/* price为价格和销量的承载盒子 */
#price{
	height:25px;
	width:100%;
	background-color:#fefefe ;
	margin-top:5px;
}
#item-price{
	font-size: 22px;
	color:red;
	margin-left: 5px;
}

#item-sale{
	font-size: 10px;
	position: absolute;
	right:10px;
	color:#a19b9d;
}

#item-description{
	width:100%;
	background-color: #fefefe;
	padding:5px;
}

#tuijian{
	width:60px;
	height:20px;
	background-color: red;
	padding:2px;
}
#tuijian>span{
	font-size: 14px;
	color:white;
}

#title{
	font-size: 15px;
	margin-left: 5px;
}
/* 承载商品评价标题和内容的容器 */
#item-evaluate{
	width:100%;
	margin-top: 5px;
	background-color: #fefefe;
}

/* 商品评价标题 */
#evaluate-title{
	font-size: 16px;
	margin-left: 10px;
}

#evaluate{
	height:25px;
	width:100%;
	border-bottom: 1px solid #e4e4e4; 
} 

#more{
	font-size: 10px;
	position: absolute;
	right:10px;
	color:#000000;
}
/* 评价内容展示 */
#evaluate-content{
	width:100%;
}

#no-comment{
	font-size: 14px;
	color:#cccccc;
}
.first{
	width:100%;
	padding:5px;
	margin-top: 5px;
	border-bottom: 1px solid #e4e4e4; 
}

.first>img{
	height:22px;
	width:22px;
	border-radius: 100%;
}
#nickname{
	font-size:14px;
}
#content{
	font-size: 13px;
	color:#8a8a8a;
}

/* 定义底部样式 */
.mui-bar-tab{
	height:50px;
	width:100%;
}

#three-btn{
	height:38px;
	width:160px;
	position: absolute;
	bottom:5px;
	left:10px;
	display: flex;
	justify-content: space-around;
}

.bottom-shop,.bottom-collect,#bottom-chat{
	height:40px;
	width:30%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-left: 2px;
	margin-top: 2px;
}

.bottom-shop>p,.bottom-collect>p,#bottom-chat>p{
	font-size: 8px;
	color:#9d9d9d;
}
.bottom-shop>img,.bottom-collect>img,#bottom-chat>img{
	height:20px;
	width:20px;
}



#purchase{
	width:100px;
	height:50px;
	background-color: red;
	position: absolute;
	right: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	
}

#purchase>p{
	font-size: 16px;
	color:white;
	text-align: center;
	margin-top: 10px;
}